<?php
/**
* Crc CMS
*
*
* @category   Crc
* @package    Crc_Annotations
* @author     Moldovan Calin <mcalin45@gmail.com>
* @copyright  Copyright (c) 2012
* @license    New BSD License
* @version    $Id:  $
*/

namespace Crc\Annotations\Grid;

use Doctrine\Common\Annotations\Annotation;

/** @Annotation */
final class Column extends Annotation
{
    /**
     * Denumirea coloanei
     * @var string
     */
    public $label;

    /**
     * Daca apare coloana
     * @var boolean
     */
    public $show;

    /**
     * Daca apare coloana in capul de tabel implicit
     * @var boolean
     */
    public $default;

    /**
     * Ce tip de filtru
     * @var string
     */
    public $filter;

    /**
     * Daca apare sau nu in capul de tabel link de sortare
     * @var boolean;
     */
    public $sortable;


    /**
     * Daca se poate sorta sau nu
     * @var string (asc|desc);
     */
    public $order ;
}